Erasing iPhone to regain access to Watch

I shattered my iPhone screen and cannot unlock the phone anymore due to dead spots in the screen. I got a new phone but I can’t connect my watch to it because it’s still connected to the old phone. If I erase the old phone via Find My, will that break the link it has to the watch and let me connect the watch to the new phone?