My husband was incarcerated last year from January-July 2018, how should I file?

What state do I put for his residency, he was out of state for 7 1/2 months