No, DC Universe Online cannot give you a virus.
It's a trusted and legitimate online game with a secure system. As long as you download it from official sources, you can play with peace of mind knowing your computer is safe.