Is it the answer to "Wo sind Sie?", for example?
And if I wanted to say "I'm going to a corner", would it be "Ich gehe in eine Ecke"?
Yes and yes.
Why "in einer ecke"?
Why is it dative case?
The use of the preposition "in" is what makes this phrase dativ.
So would saying "In eine Ecke" mean "going into a corner"? It is a very different way of thinking from English I am trying to wrap my head around.