If you store hatching eggs at ideal conditions they will normally stay viable for about two weeks. The ideal conditions are around 55 Fahrenheit and high humidity. After the first few days they should be turned a few times each day. You do not want them to suffer temperature swings, from warm to cool and back. Keep them out of drafts from AC vents and out of direct sunshine through a window. Store them laying on their side or pointy side down so the air cell stays in the round end.
Very few of us have idea conditions, I certainly do not. I store mine in a spare bedroom with the temperature somewhere in the 70's. Humidity can be fairly low, especially when the heat is going. AC can dry it out too. Under these conditions I generally get really good hatches after storing some for a week.