Severe depression leads to isolating behaviors. If you're not so depressed that you are able to leave the house and go somewhere, you're ahead of the game and excercise is just icing on the cake.
I'm much better now, and I think exercise was one of the key things that improved my general mood. It was a constant sturggle though for a while.
YMMV, of course, and I was never diagnosed or anything.