There is a template for story. Actually, there are many. I give one example here. Do you have to follow it? No. Should you understand it as a craftsperson writer? Yes.
Remember, we can only break rules if we know them first. The trend that I’m seeing, is less and less emphasis on a narrative, linear flow to story. But we have to remember the reader who has been programmed for story a certain way.