Studying for a big exam? A new study says without sleep, cramming facts and figures probably won’t stick in your mind.