Yes, you have a set number of user licenses, but you essentially have two databases – Live and Test – so you can have that number of users in both databases. 
 
For example if you have three licenses, you could have three people logged into the Live database and three more people logged into Test.