Ayutthaya is only located about 90 kilometers from Bangkok and can be visited on a daytrip; however, if you appreciate history and religious and historical monuments, I recommend an overnight stay will allow for two full days of sightseeing, including a dinner cruise on the Chao Phraya. It's unique in Ayutthaya.