All animals sleep including your Betta fish. Where they sleep really depends on their attitude but most Betta fish will float at the top of your aquarium.
Other places you might see them resting is in a corner of the tank on the gravel or in a favourite hiding place like a cave. Sometimes they will also just use a plant leaf as a hammock.