It can last quite a while. As long as the flour is kept dry and free of bugs that might contaminate it. Place the flour in an air tight container to keep it fresher.
It depends on how it was stored. In the freezer a couple more months. In a hot room, throw it out. Actually, flour definitely expires and turns. Storage can affect it, but even in a dry,...