Let us assume you have not been diving for a week. Before the first dive, your body tissues have gasses diffused in them with a value equal to the partial pressure of 1 atmosphere. Lets say sea level to keep things simple. For the purposes of this example, we will call that value Y. As you descend, the pressure of the water will force the gas you breathe into your tissues to try to equalize to the partial pressure of the depth you are at. The longer you remain at any given depth, the more your body will load up on those gasses until they reach equilibrium with the surrounding pressure. This pressure is highest at the deepest part of your dive. Lets call that value of gasses in your blood at any given point X. X will not necessarily be at equilibrium with the surrounding water, but it will certainly be higher than Y.
OK, as you ascend and water pressure decreases, your body now has gasses at a higher partial pressure than the water. So your body will naturally begin to off gas to match the pressure around you. As everyone should know, if you go up too quickly your body forms bubbles in your bloodstream due to rapid off gassing and this may cause DCI. So the longer you take going from X to Y the slower (and safer) the transition will be.
If you do a continuous ascent your body is exposed to less and less water pressure causing more of a difference between the pressure of the gasses in your tissues and the effects water depth. Depending on your physiology (hydration, amount of rest, physical condition, etc) and rate of ascent this may be more than your system can metabolize and you get bubbles.
So instead of a continuous ascent, you do a safety stop. The depth of that stop does not matter. Value X is still higher than Y, but the water pressure is now constant as you are neither ascending nor descending. As the partial pressure in your blood gasses come closer to the saturation point dictated by the depth you are at the difference gets smaller and smaller. Lets choose an arbitrary value for example purposes and say the amount of N2 in your blood is 32. As I understand tissue half lives the blood gas value will reduce to 50% of its remaining amount with each time increment. So at the end of one minute the new value is 16, it will be 8 after 2 minutes, 4 after 3, 2 after 4 and 1 after 5 minutes, etc. Each time unit reducing by half the value. As you stay at a constant depth the rate of off gassing slows down over time as there is less and less pressure difference with each passing minute. It will take a long time to equalize totally, but that does not matter. However, as you can see the most amount is lost in the first three minutes going from 32 to 4 or roughly 12.5% of its original value or an 88% reduction. As you are not ascending the rate of off gassing slows down over time and the overall average is lower. This is a safer situation than a continuous ascent where your body may be maxed out.
So the key factor does not seem to be the depth of your safety stop as the OP asked, but the time you spend at them. If you do a deep dive then several stops on your way back up the line combined with a slow rate of ascent between them will give your body time to equalize.
This is over-simplified for example purposes, but should demonstrate the value of safety stops. Until real time blood gas analysis technology becomes available that is...
