Question: can you travel with a passport that is almost expired?
Answer: No, you can't travel back to your country on an expired passport if your passport expires while you're away. In fact, if your passport is due to expire before the return flight to your country, you won't be allowed to enter the country that you're visiting in the first place.