Your time spent in Canada pre and post PR needs to be within the last 5 years from the date of your application.
If you read the following, for (1)(c)(i), you need 1095 in the last 5 years. And then it explains how you calculate it from days within that last 5 years.
(2) Subparagraph 5(1)(c)(i) of the Act is replaced by the following:
(i) been physically present in Canada for at least 1,095 days during the five years immediately before the date of his or her application, and
(1.001) For the purpose of subparagraph (1)(c)(i), the length of physical presence is calculated in the following manner:
(a) for every day during which the person was physically present in Canada as a temporary resident or protected person under the Immigration and Refugee Protection Act before becoming a permanent resident, the person accumulates half of a day of physical presence, up to a maximum of 365 days; and
(b) for every day during which the person has been physically present in Canada since becoming a permanent resident, the person accumulates one day of physical presence."