Yes, you can claim benefits if you suffer from depression, usually in the form of disability benefits, and this may be done in cases where the individual with depression meets certain specific disability criteria which one may find in the Social Security's impairment listing manual, if you are in the US. One may also be granted a medical-vocational allowance based on the severity of their depression and a combination of other factors which may be assessed at the time of leaving the job.