It depends on how it is mapped to your installation.
If it is mapped ny a port number, then it will probably fail after the move and you need to update the configuration.
If it is mapped by device ID then it will find the device on the other port with the correct ID and use that automatically.
You can see this mapping by the path that should contain a part that says /by-id/
The TTY ports can sometimes change internally, so it is suggested to use the /serial/by-id/ URL that always talks to your dongle by serial so it is always right.
You can find out what that is by using:
and looking for it under all hardware, something like this:
If you are using a Container installation, this is how to see the /serial/by-id/ URL: ls -l /dev/serial/by-id