Spouse worked in another state for 2 months - how to file

My spouse worked in different state for only 2 months. We both worked in the same STATE1 most of the year but only she moved and worked in a different STATE2 for new employer from July-Aug 2019 while I continued working in state1. In Aug she moved back to STATE1 with a new employer.

 

How should I file the tax. MFJ , MFS, Part-Year state, non-residence state ?

 

Appreciate your help.