There's no single limit. It is largely topic- and difficulty-dependent. The more obscure the technology and the more difficult the question, the longer it typically takes to answer, so expectations should follow suit. Non-difficult questions in popular technologies (e.g. filtering and reducing a JavaScript array of objects or selecting rows from a Pandas dataframe) that aren't answered in a few hours could be considered inactive. The question is likely unclear, doesn't show an attempt or needs minimization or it'd have been answered, but in many cases was not so egregiously off-topic to warrant instant closures.
But questions about, say, constraint solvers or a technology like working with a parser generator, web GL, or even JS canvas might wait a few days for the few people who watch the tag pull up their list of unanswered questions and take a crack at it. Expecting such questions to be answered within 30 minutes is unrealistic.
There are some tags, like turtle-graphics that have one person who will post some sort of answer within a couple of days. If you click on 4-5 turtle-graphics questions with answers, I guarantee you'll figure out who the user I'm talking about is (or cheat and look at top users for the tag). If this person decided to suddenly stop answering, I speculate that there would be droves of unanswered questions in the tag, which most users avoid. Questions in this tag have a turnaround of about a day, commensurate with the schedule of a single user. Although in many cases less extreme as turtle-graphics, there are strange oddities to many tags that make the turnaround time estimates very particular and hard to apply a one-size-fits-all model to.
For questions that are "dead", some are well-asked but in an obscure tag or are difficult to answer. Others are poor quality, but not enough people looked at it to cast close votes.
Another factor that could go into whether a question is dead is the asker's reputation, although this is usually correlated with the "difficulty" metric I propose above. It's common for high-rep users to ask questions that aren't easily answered, aren't closed and need to sit and gather upvotes for a domain expert to wander along and help them out. It's a mistake to consider such questions dead for a good while, if ever, while similar questions from low-rep users are more likely to be considered dead sooner.
Luck and random noise are also involved.