spend the nightMeans to spend the night or evening in a particular way or with someone. Depending on context, it can imply staying overnight, but it does not necessarily mean sleeping.
JA: 友達と話をして楽しく夜を過ごした。
EN: I spent the night having a good time talking with my friends.