Then, in phase 2 they are bound to other molecules, creating a new non-toxic molecule that can be excreted in your bile, urine or stool. It’s important to understand what to expect during detox before going to rehab. The detoxification process can take anywhere from days to weeks, as a person’s body adjusts to life without the substance.