To obtain Canadian citizenship, you must absolutely hold permanent resident status for two years. Consider my own case as an example. According to the IRCC site, I should have received permanent residence in October 2020. The period between October 2020 and the moment I received my confirmation is "lost" time for the calculation associated with my citizenship. And yet it's not my fault that the delays are extremely long.
On November 30th, 2020. See this statement in context.