No, PC and PS3 players can't play DC Universe Online together. Despite sharing a name, they're built as separate versions for different hardware. Games are designed to run on the specific systems they're developed for, and the PS3 connects through the PlayStation Network while the PC does not.
So even though both versions use the internet, they exist in entirely separate ecosystems that don't cross over. This isn't unique to DC Universe—it applies to PC games in general.