Can I Resign If I Am Suspended?

Can I Resign If I Am Suspended? Any employee has the right to resign their position, subject to complying with the notice requirements in their contract, at any time. However your employer is under no obligation to do this and could still confirm in a reference that you resigned your position whilst subject to disciplinary