Yes pulling the fuse is a smart way to clear the PCM. However, I like removing the battery cable as it forces me to clean them, which should be done once a year.
In the pic below there is a full row of three mini fuses.(yellow, yellow, red) The center yellow one (20 amp) is the one for the PCM/ECU. Underneath the cover is a bunch of labels. PCM is not one of them, but engine control is. That’s the one. I mention this as the pic is for a 1994 power distribution center and newer one may be different.
Sorry for the out of focus shot, but it is dark outside right now.