The Pauli principle applies to indistinguishable fermions. There’s quite a bit of literature on what it means for particles to be indistinguishable, v.g.
Bach, A., 1988. The concept of indistinguishable particles in classical and quantum physics. Foundations of physics, 18(6), pp.639-649,
Kaplan, I.G., 1975. The exclusion principle and indistinguishability of identical particles in quantum mechanics. Soviet Physics Uspekhi, 18(12), p.988,
Kaplan, I.G., 2020. The Pauli Exclusion Principle and the Problems of Its Experimental Verification. Symmetry, 12(2), p.320,
but a good rule of thumb is that the wavefunctions describing those fermions must have significant overlap, i.e. they should not be “independent” particles.
This is rarely the case for two fermions that are well separated in space, as their (localized) wavepackets have very small overlap, although it is conceivable that entangled fermions could be well separated and still satisfy the Pauli principle. However, entanglement is “fragile” and so it is usually the case that widely separated particles are taken as distinguishable.
Note that a more sophisticated statement is that the state vector describing $n$ indistinguishable particles must transform - for bosons and fermions respectively - by the trivial or the alternating representations of the symmetric group ${S}_n$.