When you list your home for sale with an agent, the first thing you need to do is determine how long you are going to give that agent an opportunity to sell your home.
The length of time is determined by you and the agent.
Nothing is set in stone.
You can do a year, 6 months (this is average), you can even do a 1-day listing agreement.
I have done plenty of 1 day listing agreements.
I use that when I want to show a home 1 time to 1 of my buyers.