How to enter personal information and state of residence question.

I am a U.S. citizen married where my spouse lives in another country and has no green card but has a SSN. My spouse is a nonresident alien but will treat as a resident for tax purposes.

 

I do not understand what state of residence means. My spouse did live in one state for a few months in 2019, but currently lives abroad. Thus, I am not sure if state of residence should be foreign or the state that my spouse lived in since my spouse will be treated as a resident even though a nonresident.

 

If I select foreign since living in another country, then it asked if lived in another state, which would be yes, then asks when became a permanent resident of the foreign country.  This is confusing since my spouse has always been a permanent resident there.

 

Thanks.