Companies expect employees to miss some work days for legitimate reasons. Therefore, it is not illegal for an employee not to show up at the workplace without notifying the boss, but you will face punishment according to the company's absenteeism policies.