A couple of things in your story seem weird to me, though. Did they really foreclose on your rental house that fast? There were so many properties going under in 2008 that I thought the banks were backed up for months ... Why couldn't you just stay in the rental property until the bank came after it? (PS have you checked to make sure you don't have a deficiency judgment out in your name? Some people are getting charged hundreds of thousands of dollars years after foreclosure!)
Also: you had no credit cards? With most modern credit cards you actually have to call and ask them to stop sending you checks. You could have moved debt from the car to a credit card pretty easily with those, then paid the mere minimum for months.
Did you consider applying for public assistance at all? You could have also tried to barter your skills for housing or food with a church or social service charity.
Again, I'm glad you're okay, and thank you for sharing your story. So many people don't realize they are a lost job or a bad accident away from homelessness; I hope your story encourages more people to save for a rainy day.