The Supreme Court will consider Monday whether banning homeless people from sleeping outside when shelter space is lacking amounts to cruel and unusual punishment.