Yes, it does. Linux may not be as vulnerable as Windows when it comes to malware attacks, but a web hosting server needs to defend against a much wider variety of threats, including DDoS, brute force attacks, and port scanning. Often, a firewall is the only way to fend them off.