7-32-2208. Actual confinement of inmates required. An inmate committed to a detention center for trial or examination or, except as provided in 7-32-2225 through 7-32-2227, a prisoner convicted must be actually confined in the detention center until the inmate or prisoner is legally discharged.