It doesn't matter. The SIM card doesn't store data from your iPhone, so you can put it in before or after you transfer data to new iPhone.