Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16)
I've done it both ways. If you wipe it you lose your music and apps. But as long as your online with iTunes you can still activate the phone.
You can also do an upgrade which doesn't wipe anything.