Hi!
When I searched, I found only rules for citizenship. Assume that they are the same for PR, but can't be sure.
"Absences will be calculated only for days where an applicant spent no time at all in Canada. Dates where an applicant left Canada, or returned to Canada will not be counted as an...