If you fall short of the 730 day requirement within the 5 years then the key would be to make entry into Canada few months (6 months or so) before PR expiry and not leave
Complete the 2 years and go over by about a month more and then apply for renewal there should be no issues in renewing even...