Need more clarity on your service conditions. If you have a one-year contract with a 90-day termination clause for either party, you can give your notice, serve the 90 days, and leave.
Understanding the Exit Clause
It depends on your employment agreement on how the exit clause is defined; in most cases, it states "X" days or an amount in lieu of it. So, check with your HR.
Thanks