It isn't explicitly listed in the game's specifications, but Dawn of War 2 has been confirmed to work on Windows 7.
So even if you don't see it stated outright, you can install and run it on that operating system without issue.