That's a great idea. When you're down, drinking is about the worst thing you can do. As you know, alcohol is a depressant.
And in the other hand, exercising is proven to help battle stress, pain, and depression. Your brain releases endorphins and serotonin into your blood system, and thus it stabilizes your hormones (and thus your mood.) Also, when you look better, you feel better. Win-win