My spouse and I were not residents of MA at the same time. How should we file