Even if you drink alcohol hours before you sleep, you will still risk snoring. Alcohol gets your body to relax. If your body relaxes, your throat relaxes too. This goes in the same direction with what has already been mentioned before this. If you insist that you cannot avoid drinking, at least take it three to four hours before bedtime for the effects to vanish. Your roommate will be glad that you did.