Seems like a difficult thing to do, especially if you have strong ties with family / friends back home.
If drugs are an escape for you like it is for me (low self esteem, boredom, lack of productive hobbies, etc) you might end up falling back into old habits.
With that said I've moved to a city a decent distance from home and stayed clean from oxy once I deleted my old dealer's number.