Yes, you should use a template for a cover letter. Hiring managers appreciate cover letters that are clearly laid out and easy to read, and a cover letter template will allow you to quickly create a properly formatted, professional-looking cover letter.
The time you save on formatting can then be used to focus on writing the content of your cover letter, which is much more important.