You use Zs which will be measured at the extremity of that circuit. If you have BGB then table 41.5 will give you maximum measured earth fault loop impedances for different rated residual operating currents ( Ideltan)of rcds to ensure that the touch voltage doesnt exceed 50volts. (hope this makes sense)
Zs * Ideltan must be less than or equal to 50volts
So for a 30ma rcd (0.03amps)
then 0.03 * Zs must be less than or equal to 50v
then transpose formula
Zs less than = to 50volts / 0.03
so maximum Zs will be 1667 ohms