This process could take a few hours or longer, but your iPhone will still work in that time.