When I return to Canada my passport will have two months of validity,?
Assuming youre a Canadian citizen no; no one cares about the validity of your passport after reentering your home country as theres no legal requirement you have a valid passport. If youre not a Canadian citizen and youre returning to Canada as a visitor or student whos been here before, who is traveling with a foreign passport this could be a problem. The passport you present upon entry should be valid for the duration of your intended stay as a minimum. It will be up to the CBSA officer at the point of entry whether to let you in, and how long to grant your stay for.