Yes, you should use a template for a cover letter. A cover letter template will allow you to easily create a well-formatted, professional-looking cover letter. Hiring managers appreciate cover letters that are clearly laid out and easy to read.
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.