Is it possible to get an IPhone in a different state from where you live?

I've been using t-mobile, but they don't offer the IPhone so I'm changing plans as soon as my contract is up. The issue is I'm going to be out of state the day it ends. Will it be a problem to get it out of town?

Yes it's possible. It doesn't matter what state you're in as long as you're still within the United States. You obviously can't go to another country and get the phone (unless it's unlocked, but that's a different can of worms). Cell carriers are national, so you should have no problem setting things up from a different state.