If you are based in the US, you have to give minimum 2 weeks notice. Most of the US based officers leaving at the moment will give between 2-4 weeks notice depending on their ground school date. CX is well aware off the US laws and does not challenge less then 90 days notice. You can also confirm with the USAOA as they actually got legal advise in this matter.