Employment Law Questions? Ask an Employment Lawyer.
I resigned on my own.
Correct. But they have the right to make it effective immediately.
So in essence you are not Terminated. But you are resigned. They company just does not want you to hang around And there is nothing illegal with that.
I suggest that you may request in writing to get a copy of your Personnel file. However, since you resigned and it has been accepted, you no longer have any rights to dispute anything.