Is Having a Drug Detox Without Drug Rehab Okay?

Like do they have to work hand in hand. This is for cocaine. Just trying to find out for a friend of mines. He wants help and i found out about this drug detox thing and where he could go. And oh while i’m at it, is helping him this way too much involvement? I never pushed him he says he wants to but i found the place for him