Does Find My Mac work if the disk gets erased?
As long as the thief does not manually clear the NVRAM in any way, or reconfigures iCloud with another account, the device can still be tracked when online.

see this answer