Of course you would have went to heaven.
1. Did God love you any less than when he saved you? how could he, when he saved you, you were his enemy, you were farther away from him than you would ever be the rest of your life before this time. God would have loved you even more (if you were really saved) because he already had a relationship with you.
2. Did you surprise God, and do something he did not know you were going to do when he gave you his gift of eternal life? Of Course not. God saved you KNOWING you would be a prodigal son. (if you were saved at all)
3. finally. Do you not think rather than do what Jason, KennethC and others enslaved by legalism would tell you, God would have corrected you and chastened you to bring you back to him (which is seems, this MIGHT be what he did)
Remember, God chastens those who are his. Not those who are illegitimate. (of course, you could also have just suffered from the sin of drunkenness, and punished yourself, if you were not his, and this led you back to seek him out.
The question is, if you have not found him yet, are you still looking? or do you think you already found him?
the fact you think God, as a loving father, who saved you at your worse, would not kick you out of his family when you are down in the dumps. would make me wonder seriously if you know God at all.