Windows 10: Will you lose your free upgrade if you reinstall?

Owners of Windows 7 and 8.1 will be able to upgrade to Windows 10 for free but can they keep using that copy of Windows 10 if they need to reinstall Windows or ...