A person who meets all voter qualifications except the requirement in AS 15.05.010(3) is qualified to vote by absentee ballot in the house district in which the person formerly resided if the person lived in that house district for at least 30 days immediately before changing residence, except that the person may vote only for
(1) statewide ballot measures and questions;
(2) candidates for federal or statewide offices;
(3) candidates for the state senate if the voter's former residence and present residence are in the same senate district; and
(4) candidates for judicial retention if the voter's former residence and present residence are in the same judicial district.