Hilbert space partitioning for non-Hermitian Hamiltonians: From off-resonance to Zeno subspaces