Sorry for your loss, Purrsnikitty!
You can purchase a property for cash regardless of credit, or foreclosures in the past. As both other agents mentioned, your best bet is to find a REPUTABLE financial adviser to guide you thru the best path for you under your current circumstances.
This adviser should come highly recommended from someone close to you that has many years experience with the adviser.
Good Luck to you! :-))