If you are domiciled in Virginia, you are liable for income tax on your active duty military pay as well as any other income received regardless of whether or not the income was from Virginia sources. A credit is given for income taxes paid to most states. You would file on the 760 Resident form. If you are not a domiciliary resident of Virginia, you are taxed in Virginia on income from Virginia sources, including income from property owned or from any business, trade, profession, or occupation carried on during the period you were in Virginia. You would file on Form 763.