The legal requirement is in a company's approved initial and recurrent SEP training manual. So yes, you may well be qualified to fly an aircraft but you won't be able to fly for an airline unless you can swim. You did know about this before you started training, didn't you?