Freshly cooked ham will last about 3-4 days in the refrigerator. You might like to check out this food safety chart from the FDA.