First of all, that Canadian citizen needs to be either your spouse or common law partner.
Secondly, IRCC will typically apply the "who followed whom" rule when determing if you can count the time outside of Canada towards PR. If you were outside of Canada primarily due to your spouse's employment or other obligations (e.g. your Canadian citizen spouse got a job in another country and you moved with them there) - then you can count the time. If you were outside of Canada primarily due to your own employment or other obligations (e.g. you were outside of Canada and then your spouse joined you) - then IRCC generally will not allow you to count this time.
I agree with @scylla mostly but the short form is that you can't typically count your time together abroad - it has to be some form of work posting or appointment. If it's just some time for vacations or travel and the like - nope, not going to be counted.
So for anyone to give you a real answer - brief description of circumstances.
In the website you can count for the days but they really don't say in detail. From my parent case is more like living with a spouse whom are Canadian citizen...
you travel with a spouse or common-law partner
Your spouse or common-law partner needs to be:
a Canadian citizen, or
a permanent resident working outside Canada, full-time for:
a Canadian business, or
the Canadian federal, provincial or territorial government
so when they say
a Canadian citizen
I thought even they don't work in that country you can still count as long as your spouse is a canadian