J'étais dans la cuisine et ma sœur étudiait la Bible dans la pièce à côté.
J'étais en cuisine à préparer ce gateau pour mes amis.
I guess both phrases mean "in the kitchen". Are they interchangeable in the meaning and can they be swapped in these two sentences without any difference?