She asked us where we were going to church. -- OK, or you could say "She asked us which church we were going to".
She asked us where were we going to church. -- You might get different opinions on this. It's a form that some native speakers might use, but I can't actually work out if it's an ungrammatical colloquialism or if it's grammatically sound but just rare. In