For me it works at once, I quit at all, I can´t do it in phases but I guess it depends on the person and their habits :D
I heard that one, that after 21 days it becomes easier and then after 12 weeks it is very much something you achieved :)
Nice that you dropped the bad habit man! Congrats on that one!