There are two ways to create a dividing wall: 


1) Create a room within a room and remove excess walls.
2) Create a custom object (rectangular shape) of the desired size and add material to it (wallpaper, tiles, color, photos, etc.)