Cultural/juridistion miscommunication here :)
In some places, and varying by contract your mandated to give a notice and the same applies to employer.
In my jurisdiction I need to give 2 months If I'm employed there for more than 2 years (>=2).
Do you really have that as a responsibility? Would the company give you notice or fire you on the day?