Combine sugar and water in a saucepan over medium heat until sugar is dissolved. Bring to a simmer and then remove from heat and let cool completely (approximately 30 minutes) before adding the raspberries. I like to combine the raspberries once the syrup has cooled because you get a bright, fresh flavor, rather than a cooked, jammy flavor.