Yes, the adblock function will block ads from the specified domain across all sites. Some ad companies serve ads from multiple subdomains, so multiple blocks may be required to block them all.
Another way to do so, would be to add the desired ad domains to your hosts file.
http://www.mvps.org/winhelp2002/hosts.htm