Regardless of your hair texture or type, sleeping on your hair isn't wise. Overtime it can cause damage, especially if you're sleeping on any type of pillow that isn't silk or satin. Don't have those type of pillow cases (I don't) sleep in a scarf or hair bonnet made of those materials. It'll help keep moisture (especially important for afro-textured hair), will protect your hair from damage, and can help maintain your style during the night.
Sleep on!