No person who is criminally insane confined pursuant to this chapter shall be incarcerated in a state correctional institution or facility. This section does not apply to confinement in a mental health facility located wholly within a correctional institution. Confinement of a person who is criminally insane in a county jail or other local facility while awaiting either placement in a treatment program or a court hearing pursuant to this chapter is permitted for no more than seven days.