Yes, your wife can count her days outside of Canada with you towards her days in Canada for permanent residence status, as well as for applying for citizenship.
When she renews her PR Card, your wife will have to demonstrate that
- she is married to you;
- you are a Canadian citizen;
- she was living with you the entire time she was outside of Canada.
Any days she spends outside of Canada without you will count as days outside of Canada.