Complex sentence: The goal is to help the client maintain total abstinence from alcohol and drugs, and to establish healthy routines "outside" of a residential treatment facility.
Split into simpler sentences: The goal is to help the client maintain total abstinence from alcohol and drugs. Once an addict is abstinent to establish healthy routines "outside" of a residential treatment facility.