To free up user licenses for new users, the administrator should deactivate the former employees user record. This will prevent them from logging in and using Salesforce resources, but preserve their historical activities and data. Deleting or freezing user records will not release user licenses. Reference: https://help.salesforce.com/s/articleView?id=sf.admin_usermgmt_licensing.htm&type=5