No judge shall be eligible as a candidate for any office except a judicial office during the time he or she is serving as a judge.