My wife currently has a Swedish work permit (work contract and residence/work permit both ending on Aug.31, 2019). I am currently living in Denmark and have Danish residence/work permit till 2022.

Question 1: Is it possible for my wife to simply apply for a Schengen tourist visa (for Denmark) effective from Sep 1, 2019 in advance from Sweden while her Swedish residence permit is still valid? In that case, she can directly travel to Denmark from Sweden on Sep 1st.

Question 2 : Related to (1), is it necessary to apply for Schengen tourist visa in a country that is outside the Schengen zone?

Both of us are non-EU citizens with visa requirements for Schengen countries.