They may sound similar, but inpatient treatment is not the same as residential treatment:
Inpatient treatment
includes 24/7 care in a secure facility, such as a hospital. It’s good for those who need regular monitoring for their safety. Stays in inpatient centers are short-term and typically last from a few days to a week.
Residential treatment
includes lighter monitoring in a less restrictive, more homelike environment. Stays in residential settings last for several months to a year.