No, you do not need to sign a cover letter submitted electronically. Hiring managers won’t notice or care that your cover letter isn’t signed.
Simply type out your full name after you sign off with an appropriate cover letter closing, such as “Sincerely,” “Best regards,” or “Respectfully.”
You can add a custom electronic signature to your cover letter, but it’s unnecessary and will most likely not be worth your time.