It depends entirely on what you intend to do with the gingerbread house. If you are only using it for display purposes, it will last for up to a year!
But, if you want to eat it, we wouldn’t recommend keeping it for more than a couple of weeks. If kept out for too long, the candy and gingerbread become stale and won’t be appetizing to eat.