Add this to what Charlie as said.
In general, total ignition timing doesn’t change based on cam phasing as both rely on the positioning to the piston to determine their effectiveness. If the cam is phased in the extreme directions, then altering the initial ignition timing can make a difference in regards to idling characteristics but there isn’t a set rule for this.
But in regards to what I believe you are asking, if you advance the camshaft 4° in the engine without removing the distributor, then yes, you would need to back the ignition timing up 4° to put it back where it was.
Rule of thumb for optimum quench is to maintain 0.060” or less. Anything more than this can increase the propensity for detonation if the compression ratio is high enough or the fuel octane is too low.

Lorena, Texas (South of Waco)