Great question! You can absolutely install the plugins on both sites, but the license can only be active on a single site at a time. The plugins will work whether or not the license is entered, but automatic updates will be enabled only for the site with the license.
Here’s more information on how to use a single license on both a staging and production site together: