Possibly not.
But an accurate answer depends on the exact wording of the terms and conditions of your original employment agreement, the exact wording of your resignation letter, and the exact wording of the employer's letter.
Up to you if you want to reproduce them all here in their entirety and get some helpful comments or take them to an attorney for review.

