2004 Cadillac CTS Instument Cluster

My instrument cluster was smashed through a breakin. I need to replace the entire cluster. My Question is; does the on board computer remember the current mileage and will it register it when the new odometer is installed.