No, airlines typically do not provide hotel stays for layovers. However, if your layover is longer than 8 hours and you are flying with a partner airline that has a codeshare agreement in place, then it's possible the airline may offer some kind of accommodation assistance.