A judge of the superior court shall be a citizen of the United States and of the state, a resident of the state for five years immediately preceding appointment, have been engaged for not less than five years immediately preceding appointment in the active practice of law, and at the time of appointment be licensed to practice law in the state. The active practice of law shall be as defined for justices of the supreme court in AS 22.05.070.