For situational depression it can. Clinical depression is an entire other beats, but regular exercise increases the levels of serotonin in your brain and releases more endorphins that elevate your mood.
It's probably not going to hurt, especially if there's some social stuff built in.