I have no idea what your reason was for driving. Doesn't even sound like you had one, if all you did was just go back home and go to sleep. But its totally irresponsible (akin to drunk driving) to get behind the wheel of a car knowing you're not in a state of mind conducive to safe driving.