Here are four possibilities: 1) Main (PGM-FI) relay, 2) Ignition switch, 3) Ignition coil, 4) Igniter.
1) The main relay develops poor solder joints and when the unit warms up the circuit opens and causes the fuel pump to quit and the engine to stall. The engine will not restart until the relay cools down enough for the solder joint to re-connect. The solution is to replace the main relay or open it up and re-flow the solder on the joints inside. This is a fairly common condition.
2) The ignition switch on many Honda vehicles has been known to have issues with electrical arcs wearing down the contacts inside. When the switch warms up due to the electric current passing through it the circuit opens and cuts the power to the ignition. The engine will not restart until the switch cools enough for contact to be restored. This has a high incidence rate but isn’t as common as the PGM-FI relay failure.
3) The ignition coil resistance can test good but still be bad, such as when there is a case crack and the voltage “leaks” to ground instead of producing a spark–this is not a fairly common condition, but does happen enough to be a recognizable possibility. The reason the coil tests good is because there isn’t a failure in the coil windings itself, and still produces the correct output, just that the output leaks to ground instead of going to the spark plugs. Also, many ignition coils can test good on the bench but fail under load. Something to keep in mind.
4) Igniter. This device is responsible for opening and closing the circuit of the ignition coil which produces spark. This module is inside the distributor and is known to produce your symptoms when it is heat soaked. The engine will stall and not run again until the igniter cools down. This isn’t as common as the main relay or ignition switch, but is perhaps more common, or at least as common, as the ignition coil going bad.