In case of ground planes, you can stitch the ground planes together. The construction in your image is used when a high speed signal travels across planes with different voltages on them. If you go between 1.8V and 3.3V, then you'll need a capacitor between 1.8V and 3.3V.