Invest the money in a low cost (0.05-0.15% per year expense ratio), diversified portfolio of index funds and/or ETFs. Decide on asset allocation depending on your risk tolerance. For example, 50% stocks, 20% bonds, the rest you can keep in checking and savings accounts as an emergency fund and/or buy an inexpensive apartment once you've found a place where you want to settle.
Google 'the 4% rule" to figure out how much money, on average, you can expect to make from passive investments. As a rule of thumb, for a 300K portfolio, it's about 1K per month adjusted for inflation going forward. However, many people argue that the 4% rule is not conservative enough and use 3.5% or even less to minimize the risk of running out of money, particularly those who retire early (the 4% rule is generally based on a 30 year time period, though if an investment portfolio does well for the first 30 years, it's very unlikely to fail after that). Also, if you keep an emergency fund (and you should), don't count it as part of your portfolio for the purpose of safe withdrawal rate calculations.
If/when the stock market crashes, DO NOT SELL your investments. Just make sure your emergency fund is large enough to cover at least 2-3 years of expenses in a low cost location.
https://www.theearthawaits.com/
Use this website as a starting point to choose a location depending on your budget and preferences. Just make sure you adjust your budget accordingly, because this website is mostly for older retirees who don't go out much. Also use numbeo.com to adjust your budget once you've made a short list of places you're interested in. Don't forget to budget for health insurance and visa costs if applicable.
This kind of money is not enough to retire and sit on your ass unless you want to live on a budget for the rest of your life and be priced out of most if not all developed countries. However, this is more than enough to start from a clean slate and figure out what you want to do in life. If I were you I would consider location independent jobs and online freelancing. There is plenty of information online about that, for example, look for BrettDev on youtube as a starting point and watch other related videos by location independent entrepreneurs.
Do not invest more than your are prepared to lose in any business venture. Unless you know what you're doing, do not rely on any potential business partners or people who want to "help" you invest your money in a business.
Additional resources:
Forums: bogleheads.com, Mr Money Mustache forum.
Blogs: Go Curry Cracker, The Root of Good, Mad Fientist.