After salmon has been cooked it will only keep for about two or three days at most in the refrigerator. If you plan on keeping your cooked salmon around for longer than that, it will be extremely important to put it in the freezer. By doing this you will be able to avoid getting sick from ingesting any parasites or bacteria that might grow on it after it has started to go bad.
It is extremely important to not keep your cooked salmon in the refrigerator any longer than several days, just so you can avoid getting sick from it. The freezer will keep your salmon safe to eat until you are ready to use it, however long that may be.