Yes, constitutionally, the Prime Minister may be a member of any of the two Houses of Parliament.