Wheel, a good comeback might have been, "I'm so sorry to hear that. But you'll have to decide whether you want to stay with me or your mother since we are also going through a difficult time...so sorry to break the news to you given your situation."
But I'm sure after hearing your daughter say something like that is not likely to register as a joke...I might be pissed. LOL