I think the Labour law states that during probation period you can resign and leave on the same day.