Pho can last as leftovers in the refrigerator for a maximum of 4 days and after 4 days the pho should be thrown out to prevent food poisoning.
If you want to keep the pho longer than 4 days then you should freeze it and freezing pho can make it last up to a few months.