A member of the legislature shall be a qualified voter who has been a resident of Alaska for at least three years and of the district from which elected for at least one year, immediately preceding his filing for office. A senator shall be at least twenty-five years of age and a representative at least twenty-one years of age.