No governing board of any school district maintaining a high school shall require as a condition for graduation from the high schools within the district that a pupil have resided within the district for any minimum length of time.

(Added by Stats. 1977, Ch. 36.)