Selling 1 house, buying another house

I will be selling my house in early 2023 and buying a house in another state. I have lived in current house for 27 years. After selling current house is there a requirement to buy next house within a certain time?