Most students just cram the night beforehand- beforehand is not really used in this way
Most students just cram the night ahead of schedule - this meaning is strange - it means that there was a schedule for cramming and the students do it the night before planned
Most students just cram the night in advance again, it is an odd way to use "in advance"
Most students just cram the night before - this is natural and standard