Will it work? Yes
Will it last? Probably
There are two seals on those fittings so there is more of a chance of failure, like a 2% chance of failure, vs .5% on a regular union.
Would I use it? No. Simply because if you need to take it apart you have to pull the pvc pipe out of the fitting. You'll be putting pressure on other piping, or the overflow box, and that is when things break. I would either hit up another hardware store, check the electrical isle (sometimes the sched 80 unions are over there), or just wait a day or two until the store has regular unions.