Generally, the rule is that you have at least six months validity on your passport from the date of your return to your home country.