Hello, if you have not passed the probation period, you generally need to apply three days in advance. If you have exceeded the probation period, you generally need to submit a written application or negotiate with the employer 30 days in advance. If you just leave, you won't be prosecuted, but it may be recorded on your file. Generally, early resignation is negotiable.