You have to submit the resignation letter 30 days prior the last date of working. Employer cant ignore it. If he is not ready to accept, go to the labour department.