A PR is supposed to spend two years out of every five in Canada to keep his or her PR status.
However, if the PR lives outside Canada with his or her Canadian citizen spouse, this time outside Canada counts as part of the time.
So if you are a Canadian citizen, she should be fine.