If you maintain a place of abode in Virginia for an aggregate of more than 183 days during the taxable year, Virginia treats you as an actual resident even if you are domiciled elsewhere. Day tracking alone cannot determine whether you maintain an abode or qualify for an exception.
https://law.lis.virginia.gov/vacode/title58.1/chapter3/section58.1-302/