Transfer CD2018 license to new user

Hi.

One of our workers is quiting and I want to transfer her licens on cd2018 to a new worker (setting up new computer with new programs and new mail and new user etc.).

Can this be done legaly and if yes. how do i do this?