Technically there are no residence requirements until time for applying for Naturalisation.
At that time there are residence requirements on a countback basis.
For a spouse it's 3 years countback. Keeping within a 90 day each year for those final 3 years will be fine.
Thank you Mr Terpe
With kind regards
LG