It is Illegal to quit a job without prior notice. However, there are a few situations where you can quit your job without giving notice.