Yes. When making cookies, it is important to have room temperature butter to help whip air into the butter to help make the cookie lighter in texture. If the butter is too cold, it will be too hard to whip air into and if the butter is melted it will not be in a state to trap air into it.