State taxes, Alaska and VA

Planning , but confused.   Own home in VA and minimal VA wages.  Spend 4-5 months in VA, 6 months working in AK while renting our lodging,  and the remainder of time traveling.  If move to AK (AK drivers license, etc), and then move back to VA 7 months later during the same calendar year, would AK wages legitimately be free from  VA income tax?  I assume if we keep VA drivers license, must pay VA taxes on AK wages?