Actually, it's two grammatically correct sentences, but probably not how a native speaker would say it. It's hard to determine exactly what you mean, but one possible reading of it would go like this in American English: I know she's been living on this street for about a month, but who knows how long she lived there before that. If the question is not just rhetorical, but a true request for information, it would be done a little differently.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.