I'm sorry to hear about your loss Frank. You got away this time but not all will go this smooth. Don't harp on it bro just water under the bridge. Next time ask yourself if a few hours/one night/bender is worth possibly losing everything!
I recommend you go and write down all the shitty things that you have done when you were an addict. Everything that you remember doing (stealing/robbing, jail/rehab, destroying relationships with family/girlfriend/friends/, etc). Then write what you can lose today if you relapsed. When you're done put it somewhere for safe keeping. Also take a picture on your phone so you always have it to look at when you are being tempted or feeling weak!
Stay strong!