How Long Is The Passport Validity For Traveling Abroad?

Can i still use my passport for traveling in the Philippines in April though it will expired in July?I have plan to renew my passport there.Do i still need my passport in re-entering in the state?