You should ideally be getting eight hours of sleep every night. You can certainly pull continuous 12 hour days at work, but it's not sustainable. After a certain point, your body becomes tired and your mind wears down, leading to more frequent lapses in concentration and careless mistakes.