need more clarity on your service conditions.
if you have a one year contract with 90 day termination clause for either party then, you can give your notice serve 90 days and leave.
depends on your employment agreement on how the exit clause is defined, in most cases it says "X" days or amount in lieu of it.
so check with your HR
thanks