Much depends on the quality of your food reserves rather than just the quantity, so it isn't just about fat stores as to how long you can safely fast with benefit. Some people have had a potassium deficiency (the most common) at the 20 day mark.
Generally speaking it probably wouldn't be wise to go beyond the 40 to 45 day mark as other deficiencies can reveal themselves as in electrolytes especially.