I believe both of the following placings of the word ''recently'' is correct, but how can I be sure that it is 100% correct without having to think whether it's correct:

>1. I **recently** bought the exact same car.  
>2. I bought the exact same car **recently**.

Are there any rules for the placing?