If you want to quickly see all five villages and hike the Cinque Terre trail, then yes, one day is enough. Of course, you can stay longer and explore deeper, but if you are short on time you can definitely see the best of Cinque Terre in one full day.