Military Spouse Residency Relief Act and State Taxes
The Military Spouses Residency Relief Act enacted in 2009 was intended to lessen the state income-tax filing burden on military families.
Under the act, military service members are allowed to keep their state of legal residence for tax filing, voting, car registration, etc., regardless of where they are stationed. The non-military spouse can retain the same home state of record/state of residence as the military spouse, as long as the non-military spouse’s sole reason for leaving that state was due to a permanent change of station (PCS) for the military spouse.
For more details see this summary from the nation's state tax administrators. You can also contact your local military legal office.
If non-military spouses make this change, the states where they currently reside cannot tax their earned income.
For guidance about recovering your withholding from a state that is no longer your state of residency/legal residence, see that state’s individual website found at State Tax Websites.

