Sec. 5. Except as provided in section 8 of this chapter, a public employer may require as a condition of an individual's hiring, that the individual enter into a contract or agreement to reimburse the public employer for costs incurred in employing and training the individual as a law enforcement officer, if the individual:
(1) voluntarily leaves the public employer's employment; and
(2) is subsequently employed by a nonpublic employer.
Any contract or agreement for reimbursement of costs must meet the requirements of this chapter.