For example, if a landowner has granted you the authority to park in their layby, then it is legal for you to sleep overnight in your campervan. It is when you haven't received permission from a landowner that the laws around sleeping in your campervan can get confusing.