You can use the Windows 7 licence key on either one or the other without breaking the law. You can reinstall Windows 7 using the licence key if you remove Windows 10. With a single licence key, you can only run one or the other.
Although I don't believe there is a strict enforcement mechanism to prevent you from operating both, it would be a licence infringement.