Well, there is no right way to write a resignation letter. Whether you are allowed to have any early release or not is at the discretion of the Company Policy. It will be better for you to state the reason for early release, and that you are not forcing the company to allow you to have early release. If the company clearly doesn’t need you, they might allow you to leave the company as it will probably save them money for paying your salary. However, some companies do not like it, and you will be faced with negative repercussions such as bad reference letters or other benefits.