In the bowl of your electric mixer (or with a hand mixer), beat the butter and sugar until light and fluffy (about 3 minutes). Add the eggs, vanilla extract, and almond extract and beat until combined. Add the salt and baking soda and beat to combine. Add the flour and beat until you have a smooth dough. Divide the dough in half and wrap each half in plastic wrap. Refrigerate for at least one hour, preferably overnight.