Factory Reset after IMEI change by box


I changed the IMEI of a Galaxy S3 with Android 4.3 by Samsung Box.

I don’t have the box anymore.
If I do a factory reset, I will lose my new IMEI
?

Thank you for the answers