is there a difference

is there a difference in saying you want a divorce during an arguement and saying it months after your partner cheats during an argument?