During inpatient rehab, the person in treatment resides in the treatment facility and does not return home or to another temporary living setting. During outpatient treatment, the person in treatment does not sleep at the rehab and instead attends programming for several hours a day. IOP treatment typically varies from person to person.