The wave function isn't something that can be "deformed" in the way that you are thinking. The possible states of an electron in the vicinity of a proton can be found by solving Schrodinger's equation. This gives a discrete set of bound state solutions (energy < 0), labelled by the quantum numbers n and l (and also s, j, etc. once various spin effects have been included that split all the degeneracies in the naive solution). There is also a continuum of positive energy solutions, which correspond to an unbound electron scattered by a nucleus. An actual state of an electron is some superposition of these different energy eigenstates. So, the meaning of a "deformation" of the wave function is actually that the electron is in a superposition of two different states (say two bound states, or a bound state and a free state).
The states of the two electrons in this (presumably helium or a hydrogen ion) atom must be entangled. So, if one electron is in a superposition of two states (i.e. with a "deformed" wave function), its state is something like
$$
\alpha \left| n_1, l_1, s_1 \right> + \beta \left| n_2, l_2, s_2 \right>
$$
where $\alpha \gg \beta$, so that the electron is predominantly in the first state. This is an incomplete description of the state of the atom, however. Accounting for the other electron, the state is something like
$$
\alpha \left| n_1, l_1, s_1 \right> \otimes \left| \text{other electron state 1} \right> + \beta \left| n_2, l_2, s_2 \right> \otimes \left| \text{other electron state 2} \right>
$$
Here's the thing to remember: Pauli's exclusion principle applies separately to each entangled term in this superposition. The situation pertinent to your question is where the other electron, in the first state, shares the same orbital as the first electron. By the exclusion principle, it must have opposite spin:
$$
\alpha \left| n_1, l_1, \text{up} \right> \otimes \left| n_1, l_1, \text{down} \right> + \beta \left| n_2, l_2, s_2 \right> \otimes \left| \text{other electron state 2} \right>
$$
Now, Pauli's exclusion principle would say that if "other electron state 2" is in the orbital n2, l2, then its spin must be the opposite of s2. I don't think this is the scenario you have in mind. I believe you are imagining that the "other electron state 2" is the same as "other electron state 1", i.e. that only the first electron's wave function is in a superposition (i.e. deformed). So, the state of the system is
$$
\alpha \left| n_1, l_1, \text{up} \right> \otimes \left| n_1, l_1, \text{down} \right> + \beta \left| n_2, l_2, s_2 \right> \otimes \left| n_1, l_1, \text{down} \right>
$$
What does the exclusion principle say in this case? Nothing extra. By definition n1/l1 and n2/l2 are in different orbitals, so the exclusion principle does not apply to the second component in the superposition. s2 could be spin up or spin down.
There is no "threshold" at which the spins are forced to be parallel. There is only the probability
$$
\frac{\alpha^2}{\alpha^2 + \beta^2}
$$
that, when measured, the system is in the first state and the spins are opposite.