A rubber duck in a vacuum is still a rubber duck and it still floats (though water would evaporate too quickly in a vacuum, it could float on something else of the same density).
Not if there is vacuum outside too. In a vacuum it remains a duck and still floats.