I was under the impression that GSM phones support multiple frequency bands - why not just adjust the base station configuration so phones can roam between the two networks?
The 3G bands used by T-Mobile and AT&T are different and generally not supported on the same device. For example there was a T-Mobile version of the N1 and an AT&T version of the N1. They both work on the others 2G network, but not on the 3G network.