Not without prior notice! That would be called ‘truancy.’ But otherwise, it is okay to take a one-day break from classes.