Well, what do you know about metric topologies? In particular have you seen the proof that every metric space is "Hausdorf" (T2)- given any two points, p and q, there exist disjoint open sets, one containing p, the other containing q (Take [itex]N_{\delta}(p)[/itex] and [itex]N_{\delta}(q)[/itex] with [itex]\delta[/itex] equal to 1/3 the distance between p and q)? In U1, there is no open set containing b but not a and in U2 there is no open set containing a but not b.
In {empty set, {a},{b}, X} (the "discrete topology) you can take d(p,q}= 1 if [itex]p\ne q[/itex], 0 if p= q. Then [itex]N_{1/2}(a)= {a}[/itex] and [itex]N_{1/2}(b)= {b}[/itex].
I believe, however, that {empty set, X} (the "indiscrete topology") is NOT metrizable. There exist no open set containing a but not b and likewise no open set containing b but not a so it is not Hausdorf (it is not even T0- {a} and {b} are not closed).