What is my state of residency?

My husband is active duty military with legal residency in New Hampshire. When we married in 2017 my state of residency was Georgia. We have recently PCSed to Virginia and we are going through the process of learning tax law for where my residency will need to be. Looking through Title 50, Chapter 50 it appears that I may be able to either retain Georgia residency or use my husband's state of residency (New Hampshire) for tax filing - Is this true? Or do I have to become a Virginia resident? What should my legal state of residency be on my taxes and how should this be input into Turbo Tax? Thank you in advance!