You are expected to act professionally at your workplace.
James stayed up too late working on a project for work and now he's tired.
James wants to decide if he should work today.
James calls in to his boss and asks to stay home today.
James goes to work and falls asleep at his desk.
James boss gives James the day off today.
James boss wakes up up and fires him for sleeping at work.