Literally, “have nowhere to drop dead”, from the sense of be so poor to the point of not having the money to pay for a burial.
não ter onde cair morto