You'll have plenty of time to vent personally about your work grievances as you leave, but really, you stand to gain nothing by putting negativity into your resignation letter. And unless you're leaving the state and your current industry, you always run the risk of running into the same people later on. So you're far better off taking the high road and making sure your exit is a classy one.
Sure, it may sit in the depths of HR until the end of time, but you can be sure of two things: One, your former boss (and future reference) will read it and be impressed. And two, if you ever decide to come back to your company (hey, it happens), it's a very good thing that last thing on file is a great, professionally written resignation letter.