I'd think some situatuons are different. It'd be hard to just get over it in a day if you found out you're being cheated on, or if a crime was done to you/ a loved one. I don't think God is going to hold it over someone if (s)he can't get over it by the next day.
I think the verse isn't about "getting over it in a day", but for us to give it to God every night.
Admit that we are anger and fruattrated and maybe even scared or worried? But trust God to work on our hearts and minds and help us heal and learn solutions to cope and become who He wants us to be.
Being angry all the time is stressful and your body can't rest and heal at night if you hold onto the anger.
At some point we have to let go and give it to God.
In the morning we can wake up, still angry and pray.
If we listen God will tell us more about our hearts and minds and His truth.
We may still be angry, but can we trust that God will see justice done?
Can we love even those who have hurt us?
It's hard but God eventually teaches us this.
Remember Peter cut off the guards ear? Peter had serious anger issues but Jesus taught him to love and feed His sheep.
He teaches us the same.