If you can stop using substance or stop your addictive behavior for extended periods of time without craving, you are not dependent. You are dependent only if you can't stop without physical or psychological distress (you have unpleasant physical and/or psychological withdrawal symptoms) or if you stop and then relapse.
Chris Prentiss (2007). “The Alcoholism and Addiction Cure: A Holistic Approach to Total Recovery”, p.25, BookBaby