No, you can chat with people across servers, thus the federation. Somebody using jabber.org can talk to somebody using gmail.com.
There are even bridge transports to let jabber users talk to ICQ users and Facebook users. It's quite extensible. More here: http://en.wikipedia.org/wiki/Jabber