One set, $A$, can be a countable union of Knaster pseudo-arcs. The complement of such  union, $B:=R^2\setminus A$, can be 0-dimensional.

At this moment I don't have anything elegant, I'd have to brute-force this construction. Some  regular iteration may help though.