I think it really depends which came first.
My depression started in my very early twenties. I didn't begin drinking until many, many years later. I needed to treat the depression first, and that gave me the courage to stop drinking.
If the depression is a result of drinking, and it often is, then clearly stopping drinking for a period of a few months should show some progress with the depression lifting.