§ 2103-a. Police officers and firefighters on boards of education. Notwithstanding any general, special or local law, ordinance or charter provision to the contrary, or any rule or regulation, police officers and firefighters employed by any municipal subdivision of the state or police district provided they are otherwise eligible, may be candidates for election and serve as members of boards of education in school districts located: (1) other than in the municipality where they perform their duties as police officers and firefighters on a regular basis, or (2) unless prohibited by the legislative body for whom they are employed, in school districts located in the locality where they perform their duties as police officers and firefighters.