No, because the longer they cook, the more the juices will bleed out. First, put your raspberries in a large bowl and add two tablespoons of flour. Then, toss until they are thoroughly coated. This will keep them from sinking to the bottom of the cake and helps prevent them from bursting.