Yes, after two hours. According to this FDA Food Storage Chart, sweet potato pie can safely sit out for two hours unrefrigerated (on the kitchen counter). Additionally, the FDA states, “Bakery items containing custard, meat or vegetables, and frostings made of cream cheese, whipped cream or eggs must be kept refrigerated.” ( Source: FDA Food Storage Guidelines Chart)