I work with people everyday who are in the same position. There are programs out there to help people out who have mental illness and have not worked in a while. One that I can speak of is IPS (Individual Placement and Support). Check your local area and see if you have programs like this.