If you leave a puppy alone and don't respond to him at night at all, most puppies will eventually stop crying.
For some puppies this can happen within a day or so.
There are the puppies that sleep peacefully from the first night but they usually belong to someone else.
Most puppies take three or four days to adjust.