Preheat the oven to 350°F (177°C) and lightly grease a 9×5-inch (23×13 cm) loaf pan. Tear the bread into small pieces in a large bowl. Warm the whole, evaporated, and condensed milks until just lukewarm, pour over the bread, press gently, and let soak 10 minutes.
Make the caramel: melt the sugar in a small saucepan over medium heat, stirring occasionally, until deep golden. Pour it into the loaf pan right away and tilt to coat the bottom and a little up the sides.
Toss the raisins with the flour.
Stir the melted butter into the soaked bread. Whisk the eggs with the vanilla, cinnamon, nutmeg, lime zest, and salt, then fold into the bread mixture.
Fold in the raisins and pour the mixture into the caramel-lined pan. Set it inside a 13×9-inch (33×23 cm) baking pan and add hot water to reach 1 inch (2.5 cm) up the sides. Bake about 1 hour, until a knife inserted in the center comes out clean.
Cool 30 minutes on a rack, then refrigerate at least 4 hours or overnight.
To unmold, dip the bottom of the pan in warm water for 5 minutes, run a knife around the edges, and invert onto a serving plate so the caramel flows over the top.
Serve chilled, sliced, with extra caramel spooned over each piece.