Yes, I can't think of a reason why it won't work for a multivariate system. `f(x, y)*g(x,y) = 0` implies either `f(x, y) = 0` or `g(x, y) = 0` or both.