On a network license server, licenses are maintained on the server. No additional steps are needed to preserve network licenses.
For a stand-alone license, you need to export the license before re-imaging the computer. You can use the License Transfer Utility to export the license to the Autodesk server. After the re-imaging, import the license to the correct computer.