Can sleeping in a fridge kill you?

Yes. If a fridge is not well-ventilated and you get trapped inside it, you will suffocate and die. But if your fridge is well-ventilated and you can open it from the inside, you will not die. You'll just wake up cold.