In quantum mechanics, particles are described as wave-like. This means, for example, that an electron or photon does not have a well-defined position before one measures it and causes the wavefunction to collapse. Instead, the particle has a probability distribution of where it is likely to be found when measuring.
Now I wondered if the spin of a particle behaves similarly. For example, could an electron have a spin of $\frac 1 2$ and "at the same time", a spin of $-\frac 1 2$? (By "at the same time", I mean that one cannot say for sure what its spin is - similar to position where one maybe could say that the particle either has no position or is everywhere at the same time).
If yes, how could this be in agreement with the Pauli exclusion principle? (If two electrons have undefined spin, how does for example an atomic orbital "know" that it is filled and no third electron could enter?)