Well, the uniform distribution on $\{(0,1,1), (1,0,1), (1,1,0)\} $ does not factor like that, since it would imply
$$0=f(1,1,1)=\prod_{i, j} f_{i, j}(1,1)\ne 0,$$ a contradiction.