can you take out the iPhone's sim card and use wifi outside of america?
gentmatt's answer is correct, however if you don't need to make phone calls at all you can also just turn on airplane mode. I have done this many times abroad. Turn on airplane mode in settings, then turn wifi back on. Your cellular signal stays off.