In order to be eligible to be elected as a councilmember from a district, the candidate therefor must be a resident of such district on the date he or she qualifies to run for office and at the time of election thereto.