Let $G$ be the graph with vertices $v_1,\ldots,v_k$, representing the people
and with edges whenever two people are acquainted.
Let $F$ be the field with 2 elements.
Let $V$ be the $k$-dimensional vectorspace over $F$.
We consider the elements of $V$ to represent the possible subsets of people,
i.e. $(x_1,\ldots,x_n)$ represents the subset $A$ where $v_i\in A$ if and only if $x_i=1$.
Let $W$ be another $k$-dimensional vectorspace over $F$.
Its elements are going to be interpreted as the parities of the degrees of the vertices in their own room (i.e. partition).
Example: for $k=3$ the element $(0,1,0)$ of $W$ is interpreted as:
$v_1$ and $v_3$ have an even number of acquaintances in the same room,
$v_2$ has an odd number of acquaintances in the same room.
Note that it is not at all guaranteed that every element of $W$ corresponds to an existing configuration.
For each $i=1,\ldots,k$, we define a mapping $s_i:W\to W$ as follows:
$s_i(a_1,\ldots,a_k)=(b_1,\ldots,b_k)$ where
- $b_j=1-a_j$ if $v_i$ and $v_j$ are neighbours,
- $b_i=1-a_i$ if the degree (total number of acquaintances) of $v_i$ is odd,
- $b_i=a_i$ if the degree of $v_i$ is even, and
- $b_j=a_j$ otherwise.
This mapping corresponds exactly to the parity changes that occur when you move $v_i$ to the other room (verify!).
Composition of the $s_i$ is commutative (verify!), so it is easy to see that the collection
of all $F$-linear combinations of the $s_i$ is a vector space over $F$, where composition
has the role of vector space addition (verify!). Call this vector space $T$.
Define the mapping $g:V\to T$ by assigning to $(x_1,\ldots,x_k)$ the composition of those
$s_i$ for which $x_i$ is nonzero.
Example: for $k=3$ the element $(0,1,1)$ would map to $s_2\circ s_3$.
Then $g$ is linear (verify!) and its kernel represents subsets of $\{v_1,\ldots,v_k\}$
that cause no parity changes when they are all moved to the other room simultaneously.
Since the kernel of a linear map is a vector space itself, its cardinality is a power of 2, say $2^n$.
Now we have shown that for every possible(!) parity distribution, there are exactly $2^n$
configurations realizing this distribution.
This reduces the problem to showing that there is at least one configuration where all parities are 0 and this problem is solved here (thanks Alex).