Debtors and witnesses shall not be confined in the same room with other prisoners; male and female prisoners shall not be kept in the same room; minors shall be kept separate from those previously convicted of a felony or other infamous crime; and persons charged with an offense shall not be confined in the same cell as those convicted of a crime. The confinement of those persons convicted of a misdemeanor or felony shall be in accordance with a classification system developed and implemented by the local jail authority.
730 ILCS 125/11