This can be tough for military personnel who may move frequently so an exception applies: you can choose to have the five year period suspended during any period you or your spouse serve on qualified official extended duty while serving in the armed forces (some limits and exceptions apply).