I am married to someone who is incarcerated in another state and i have live and work in a different state.Why do i have to file in the state he lives in?

I have never lived nor worked in the state hes incarcerated in