It is possible of course that $A\in\mathcal A$ and $B\in\mathcal B$ where $(\Omega_1,\mathcal A,P_1)$ and $(\Omega_2,\mathcal A,P_2)$ are distinct probability spaces.
Then if e.g. $A\cap B=\varnothing$ we have $A\cap B\in\mathcal A$ and $A\cap B\in\mathcal B$ and this with: $$P_1(A\cap B)=P_1(\varnothing)=0=P_2(\varnothing)=P_2(A\cap B)$$
Applying definition of conditional probability we get:$$P_1(A\mid B)=\frac{P_1(A\cap B)}{P_1(B)}=0=\frac{P_2(A\cap B)}{P_2(B)}=P_2(A\mid B)$$provided that $P_i(B)\neq0$ for $i=1,2$.
But things become amiguous in $A\cap B\neq\varnothing$ and still belongs to $\mathcal A$ and $\mathcal B$. Or if - in the case above - $P_1(B)=0$ and $P_2(B)\neq0$.
There is no need to step into this awkward situation.
We just must take care of a model/probability space that includes all relevant events and this is possible.