+1 ^^
On a 4 stroke engine the Crank turns at twice the speed of the Cam, this means there are TWO #1 Top Dead Center(TDC) marks passing the pointer for each complete cycle of #1 cylinder.
TDC compression
TDC exhaust
The distributor runs off the CAM timing so it needs to be lined up to spark the #1 plug on the TDC Compression stroke, not TDC exhaust, so if you just pick one you have a 50/50 chance of getting it right, but in my experience it is more like an 80/20 of getting it wrong, lol.
Although you often get a back fire when distributor is 180deg off on Cam timing, this is not always the case.
If you remove spark plug #1 and rotate the crank you can feel which TDC is the compression stroke by the air be forced out with both valves closed.
Then pull of distributor cap and see if rotor is aligned with #1 wire on the cap.