What is my state of residence for tax purposes

I'm from NY and have been there on an off since 2015 after graduating college, working seasonal jobs in other states. I maintain a drivers licence there and am registered to vote there at my parents address. This year for the first time I have lived and worked more than half the year (about 11 months actually) in another state, VA. I would still say that I don't necessarily intend to stay in VA, I worked retail here 4 months, then landed a temporary 6 month term position for the state, for which I was upgraded to a 9 month a year position that has potential to renew. I wouldnt say I had gainful employment in VA until I was upgraded in september, and even then since it has to be renewed every year I don't know how that falls as far a temporary/permanent, gainful/non-gainful. I don't have a permanent residence in VA, I was back and forth between living with my fiances parents and renting a house in 2019. I didn't live in NY in 2019 or earn any income there. All of my income is from working in VA. Do I need to file taxes with NY at all if I did not earn income there? I wish to still be considered a resident of NY because I might intend to return, or move to a different state entirely. Do I file as a resident or non-resident of VA if I don't neccessarily intend to establish permanant residence? I guess part year residence filing wouldnt be appropriate since I didn't live in NY. 

 

And im very confused about how my drivers licence works into state residency if anyone can give me guidance on that. If I file as a resident of VA does that mean I need to change my drivers licence to VA as well? Can I file as a resident of VA without holding a VA drivers licence?