It probably varies by experience. I know I used to have trouble sleeping in unfamiliar places, but then there was a period of my life where I was moving, traveling, and visiting people a lot, and sleeping in a lot of guest beds or couches. It got a lot easier for me to sleep in new places after that.