A fixed 90-day ceiling
On entry you're allowed a maximum of 90 days. Your onward date has to be inside that. For a yacht crew, island-hopping or a long stay, plan the onward leg from Antigua specifically, not just your final flight home.
Passport is stricter than Barbados
Antigua and Barbuda asks for a passport valid for at least 6 months from arrival. Barbados only needs it to cover your stay. If you're visiting both, the 6-month rule is the one to meet.