Well, T(t) = 0, when plugged back into your separation guess of u = XT, implies that u = 0, the trivial solution. The trivial solution, I think you'll find, will not work unless f(x) = 0. In addition, most of the time you're interested in a nontrivial solution, which implies that T(t) is not identically zero everywhere. Make sense?