Yes, it's necessary to reset the ECU after replacing the MAF sensor, and you can do it by disconnecting the negative battery terminal.