308.1 Institutional Group I. Institutional Group I occupancy includes, among others, the use of a building or structure, or a portion thereof, in which people are cared for or live in a supervised environment, having physical limitations because of health or age are harbored for medical treatment or other care or treatment, or in which people are detained for penal or correctional purposes or in which the liberty of the occupants is restricted. Institutional occupancies shall be classified as Group I-1, I-2, I-3 or I-4.
308.2 Group I-1. This occupancy shall include buildings, structures or parts thereof housing more than 16 persons, on a 24-hour basis, who because of age, mental disability or other reasons, live in a supervised residential environment that provides personal care services. The occupants are capable of responding to an emergency situation without physical assistance from staff. This group shall include, but not be limited to, the following:
Alcohol and drug centers
Assisted living facilities
Congregate care facilities
Convalescent facilities
Group homes
Halfway houses
Residential board and care facilities
Social rehabilitation facilities
308.4 Group I-3. This occupancy shall include buildings and structures that are inhabited by more than five persons who are under restraint or security. An I-3 facility is occupied by persons who are generally incapable of self-preservation due to security measures not under the occupants' control. This group shall include, but not be limited to, the following:
Correctional centers
Detention centers
Jails
Prerelease centers
Prisons
Reformatories
Buildings of Group I-3 shall be classified as one of the occupancy conditions indicated in Sections 308.4.1 through 308.4.5 (see Section 408.1).
Definitely group I. I-1 hinges on 'personal care services', "PERSONAL CARE SERVICE. The care of residents who do not require chronic or convalescent medical or nursing care. Personal care involves responsibility for the safety of the resident while inside the building.". IF you consider counseling, etc as 'personal care', then I-1 could fit - a 'halfway house' or 'social rehabilitation facility'.
Under I-3, the 'security measures' typically restrict movement either within the premises or within limited spaces in the building. 'Prerelease center' seems the most likely fit. Likely a condition 1 or 2 (maybe a 3, but not likely), but as said previously, will require more information for a definitive call.