The default ruling regarding sleep is that it nullifies ablution. An exception to this is one who slept while firmly seated on the ground; his ablution is not nullified by sleep if he wakes up while still firmly seated on the ground. And Allah the Almighty knows best.