Such parent or legal custodian who is a service member may delegate such powers for a period longer than 180 days while on active duty service if such active duty is longer than 180 days, but such period shall not exceed the term of active duty service plus 30 days. For the purposes of this section, "service member" means (i) a member of the Armed Forces of the United States, (ii) a member of the Armed Forces Reserves, (iii) a member of the National Guard, (iv) a member of the commissioned corps of the National Oceanic and Atmospheric Administration, (v) a member of the commissioned corps of the U.S. Public Health Services, or (vi) any person otherwise required to enter or serve in the active military services of the United States under a call or order of the President of the United States or to serve on state active duty.
A delegation of powers under this section shall not operate to change or modify any parental or legal rights, obligations, or authority established by an existing court order or deprive a parent or legal custodian of any parental or legal rights, obligations, or authority regarding the custody, visitation, or support of any child under this title.
Va. Code § 20-166