Yes, 4-5 days are sufficient for a Maldives trip as you would have enough time to explore the island you are staying and take up all the activities.