A judge of the Court of Appeals or the Court of Special Appeals, by reason of residence in Anne Arundel County during his term of office, does not abandon his legal residence in the appellate judicial circuit from which he was appointed or elected unless he registers to vote in any election in Anne Arundel County.