I applaud you for the courage and discipline it must have taken for you to improve your life. Unfortunately, you are in a very small percentage of the homeless that could or will achieve what you've accomplished. I wish you continued success.The problem with the answer "to work" is that employers require an address and phone # on their job applications and if a person does not have an address to call home, nor a way to be contacted . . . they don't get the job.
Been there myself once (company went bankrupt). Fortunately the area I was homeless in had a solution in place. The local Catholic Aid Society offered to let the homeless use their office address, and set up a phone plan specifically as a contact phone number.
Using these I was able to slowly climb my way out of being homelessness through a succession of ever higher paying jobs until I could once again afford a place to live.