No, of course not. Replacing the car engine won't reset mileage. Its odometer is connected to the front wheel hub rather than the engine, and makes changes as far as replacement is concerned- it won't affect it. However, customizing the mileage by tampering with the odometer is often reported. So you should beware of both intrinsic and extrinsic factors.