When you move outside the US on military orders, your home state does not change for residency purposes. Its pretty much the same as if you'd moved to a different US state. When you are overseas due to military orders, its treated as if you never left the United States.