Ref. No. 1410/42-834
In the name of Allah the most Gracious the most Merciful
The answer to your question is as follows:
Basically, a roommate should be someone who has a good behavior and with whom the interaction does not interfere with the main activity. However, it seems appropriate that it would be preferable to stay with the People of the Book because they are monotheists, hoping that you will not be offended, while living with those who worship other than Allah is more likely to cause differences.
And Allah knows best
Darul Uloom Waqf Deoband