I am not a legal adviser but its better to be going for a Resignation letter.