Any student who is enrolled in a public high school in Arkansas and has earned the number of credits required by the local school district for graduation shall be eligible to graduate from the high school without regard to the grade level the student is enrolled in at the time such credits are earned.