Your dream combines elements of an ex-lover dream and a dream of the deceased. Here are some links to definitions of those symbols on this site that should help give you more clarity about its meaning...
ex-lover
deceased
Also, on the
dreamdoctor.com homepage
, there's a link to a video in the Listen Now! section about the meaning of "ex-lovers' in dreams. Definitely worth checking out.
While your conscious mind remembers the why and how your old relationship came to an end, your subconscious mind also remember the good stuff that kept you together for 2 years.
Bottom line... your dream may reflect your sense of loss (something in your waking life might have triggered his memory) OR it may be a reflection of what you are missing and want in your current relationship. To determine which it is, try to identify what was going in your waking life that might have generated the dream.
Hope that helps!
Have a Happy New Year!