"I miss those days." would be a common English phrase. But it without more context, it isn't clear about which days the person is referring to.
But if you just changed "day" to "days" in your sentence, this would be grammatically correct.
"I miss those days when we were together."