Some form of due process or valid cause for termination is often required in employment contracts.
I never had an employment contract. But, in those cases the contract would surely specify separation procedures and requirements.