No. If you are reinstalling Windows on a computer that has already been activated on that hardware before (via a "Digital License" linked to your motherboard), simply skipping the key and selecting the correct edition (Home vs Pro) will allow Windows to reactivate automatically once you connect to the internet.
If prompted, select the version of Windows 10 you wish to install (e.g., Home or Pro). Note: If you plan to activate later, ensure you choose the edition that matches the license you intend to use.
Microsoft provides generic product keys that can be used to install Windows 10 without a product key. These keys are: